﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace IDE{
    public partial class Editor : Form{

        Console co = new Console();
        public Editor(){
            InitializeComponent();
        }

        private void Editor_Load(object sender, EventArgs e){
            co.Dispose();
            co = new Console(this);
            co.MdiParent = this.MdiParent;
            co.Show();
        }

        private void Editor_FormClosing(object sender, FormClosingEventArgs e){
            co.Dispose();
        }

    }
}
